Platform Explorer / Nuxeo Platform 2021.53

Contribution org.nuxeo.ecm.user.center.dashboard.jsf.layouts.listing--widgets

This contribution is part of XML component org.nuxeo.ecm.user.center.dashboard.jsf.layouts.listing inside nuxeo-user-dashboard-jsf-2021.53.3.jar /OSGI-INF/layouts-listing-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

35
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="listing_task_name" type="listing_task_name">
          <labels>
            <label mode="any">label.workflow.task.name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data</field>
          </fields>
        </widget>
  • <widget name="listing_task_document_title_link" type="listing_title_link">
          <labels>
            <label mode="any">label.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.ref</field>
            <field>data.document.dc.description</field>
          </fields>
        </widget>
  • <widget name="listing_task_directive" type="text">
          <labels>
            <label mode="any">label.review.directive</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="value">
              #{layoutValue.data.i18nDirective}
            </property>
          </properties>
        </widget>
  • <widget name="listing_task_comment" type="text">
          <labels>
            <label mode="any">label.review.user.comment</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.comment</field>
          </fields>
        </widget>
  • <widget name="listing_task_dueDate" type="datetime">
          <labels>
            <label mode="any">label.workflow.task.duedate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.dueDate</field>
          </fields>
          <properties widgetMode="any">
            <property name="styleClass">
              #{nxu:test(layoutValue.data.expired, 'error', '')}
            </property>
            <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
          </properties>
        </widget>
  • <widget name="listing_task_startDate" type="datetime">
          <labels>
            <label mode="any">label.workflow.task.startDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.startDate</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
          </properties>
        </widget>
  • <widget name="listing_process_name" type="listing_process_name">
          <labels>
            <label mode="any">label.name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.processInstanceName</field>
          </fields>
        </widget>
  • <widget name="listing_process_document_title_link" type="listing_title_link">
          <labels>
            <label mode="any">label.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.documentModel</field>
            <field>data.documentModel.ref</field>
            <field>data.documentModel.dc.description</field>
          </fields>
          <properties widgetMode="any">
            <property name="tab">TAB_CONTENT_JBPM</property>
          </properties>
        </widget>
  • <widget name="listing_process_startDate" type="datetime">
          <labels>
            <label mode="any">label.workflow.task.startDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.processInstanceStartDate</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="listing_task_name" type="listing_task_name">
      <labels>
        <label mode="any">label.workflow.task.name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data</field>
      </fields>
    </widget>

    <widget name="listing_task_document_title_link" type="listing_title_link">
      <labels>
        <label mode="any">label.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.ref</field>
        <field>data.document.dc.description</field>
      </fields>
    </widget>

    <widget name="listing_task_directive" type="text">
      <labels>
        <label mode="any">label.review.directive</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="value">
          #{layoutValue.data.i18nDirective}
        </property>
      </properties>
    </widget>

    <widget name="listing_task_comment" type="text">
      <labels>
        <label mode="any">label.review.user.comment</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.comment</field>
      </fields>
    </widget>

    <widget name="listing_task_dueDate" type="datetime">
      <labels>
        <label mode="any">label.workflow.task.duedate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.dueDate</field>
      </fields>
      <properties widgetMode="any">
        <property name="styleClass">
          #{nxu:test(layoutValue.data.expired, 'error', '')}
        </property>
        <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
      </properties>
    </widget>

    <widget name="listing_task_startDate" type="datetime">
      <labels>
        <label mode="any">label.workflow.task.startDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.startDate</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
      </properties>
    </widget>

    <widget name="listing_process_name" type="listing_process_name">
      <labels>
        <label mode="any">label.name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.processInstanceName</field>
      </fields>
    </widget>

    <widget name="listing_process_document_title_link" type="listing_title_link">
      <labels>
        <label mode="any">label.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.documentModel</field>
        <field>data.documentModel.ref</field>
        <field>data.documentModel.dc.description</field>
      </fields>
      <properties widgetMode="any">
        <property name="tab">TAB_CONTENT_JBPM</property>
      </properties>
    </widget>

    <widget name="listing_process_startDate" type="datetime">
      <labels>
        <label mode="any">label.workflow.task.startDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.processInstanceStartDate</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
      </properties>
    </widget>

  </extension>